<% if @view_type == "list" %>
  $(".shop-list").html("<%= j render "list" %>");
  $("#will_page a").attr("data-remote", "true");
<% elsif @view_type == "table" %>
  $(".curlist-con").html("<%= j render "table" %>");
  $("#will_page a").attr("data-remote", "true");
<% end %>
